#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	char ex[128];
	uint32_t v1;
	uint32_t v2;
	bool e;
	swaddr_t trptr;
	bool first;
} WP;
WP* new_wp();
void free_wp(WP *wp);
bool checkw(swaddr_t pt);
#endif
